package com.example.demo.mapper;

import com.example.demo.pojo.zuwang.zuwang.Device;

import java.util.List;

public interface DeviceMapper {

    public void insert(Device device);
    public List<Device> select();
    Device selectById(String id);
    Device selectByUni(String uni);
    Device selectByUniIp(String uniIp);
    Device selectByTarget(String target);
    void deleteByUni(String id);
    void deleteById(String id);
    void updateState(Device device);
}
